const item = {
  name: 'certificate',
  cn: '证书',
  path: '/certificate',
  defaultPath: '/certificate/certificate/pass',
  level: 1,
  auths: [],
  haveRouter: [],
  hiddenRouter: [],
  children: [
    {
      name: 'CertificatePass',
      cn: '证书',
      icon: '#icon-credential',
      path: '/certificate/certificate/pass',
      componentPath: 'certificate/certificate/Pass',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: ['certificateInfo'],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'CertificateWait',
      cn: '证书审核',
      icon: '#icon-credential',
      path: '/certificate/certificate/wait',
      componentPath: 'certificate/certificate/Wait',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: ['certificateInfo'],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'CertificateFailed',
      cn: '证书审核失败',
      icon: '#icon-credential',
      path: '/certificate/certificate/failed',
      componentPath: 'certificate/certificate/Failed',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: ['certificateInfo'],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'CertificateInvalid',
      cn: '证书作废',
      icon: '#icon-credential',
      path: '/certificate/certificate/invalid',
      componentPath: 'certificate/certificate/Invalid',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: ['certificateInfo'],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'CertificateInfo',
      cn: '证书详情',
      icon: '#icon-credential',
      path: '/certificate/info/:id',
      componentPath: 'certificate/certificate/Info',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'CertificateTransfer',
      cn: '证书转让记录',
      icon: '#icon-credential',
      path: '/certificate/transfer/:id',
      componentPath: 'certificate/certificate/Transfer',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      name: 'Invoice',
      cn: '证书发票',
      icon: '#icon-invoice',
      path: '/certificate/invoice',
      componentPath: 'certificate/invoice/List',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      name: 'Lading',
      cn: '证书提货单',
      icon: '#icon-pick',
      path: '/certificate/lading',
      componentPath: 'certificate/lading/List',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: ['LadingInfo', 'Shipments'],
      children: []
    },
    {
      hidden: true,
      name: 'LadingInfo',
      cn: '证书提货单详情',
      icon: '#icon-pick',
      path: '/certificate/ladinginfo',
      componentPath: 'certificate/lading/Info',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      hidden: true,
      name: 'Shipments',
      cn: '证书发货',
      icon: '#icon-pick',
      path: '/certificate/shipments/:id',
      componentPath: 'certificate/lading/Shipments',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: []
    },
    {
      name: 'Distribute',
      cn: '派发积分',
      icon: '#icon-providedbytheintegral',
      path: '/certificate/distribute',
      // componentPath: 'certificate/distribute/List',
      level: 2,
      auths: [],
      defaultPath: '',
      haveRouter: [],
      hiddenRouter: [],
      children: [
        {
          name: 'Distribute',
          cn: '派发',
          path: '/certificate/distribute',
          componentPath: 'certificate/distribute/List',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          name: 'DistributeLog',
          cn: '日志',
          path: '/certificate/distributelog',
          componentPath: 'certificate/distribute/DistributeLog',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          name: 'DistributeRule',
          cn: '规则记录',
          path: '/certificate/distributerule',
          componentPath: 'certificate/distribute/DistributeRule',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        },
        {
          hidden: true,
          name: 'DistributeRuleAdd',
          cn: '规则记录添加',
          path: '/certificate/distributeruleadd',
          componentPath: 'certificate/distribute/DistributeRuleAdd',
          level: 3,
          auths: [],
          defaultPath: '',
          haveRouter: [],
          hiddenRouter: [],
          children: []
        }
      ]
    }
  ]
}

export default item
